using CoreProject.DTO;
using CoreProject.Model;

namespace CoreProject.IService
{
    public interface IUsersService : IBaseService<User>
    {
        Task<User> GetUser(int id);

        Task<User> Login(string loginName, string loginPwd);

        Task<List<User>> GetUsers();

        Task<(List<User> list, int count)> GetUsersByPage(int page, int size, string name);


        Task<List<MonthStatisticsDto>> GetMonthStatistics(int starMonth, int endMonth);

        Task<(List<User> list, int count)> VipList(string name,int page, int size);
    }
}
